package com.imooc.security.core.properties;

/**
 * 4.10.16 改造成继承方式
 * @author qilongfei
 *
 */
public class ImageCodeProperties extends SmsCodeProperties{
	private int width = 67;
	private int height = 23;
	
	/**
	 * 4.10.17 构造方法解决验证码长度问题
	 */
	public ImageCodeProperties() {
		setLength(4);
	}
	
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
}

/**
 * 4.8.1 添加验证码属性配置类
 * @author qilongfei
 *
 */
/*public class ImageCodeProperties {

	private int width = 67;
	private int height = 23;
	private int length = 4;
	private int expireIn = 60;
	private String url = "";

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public int getExpireIn() {
		return expireIn;
	}

	public void setExpireIn(int expireIn) {
		this.expireIn = expireIn;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}*/